package com.stark.wechat.core;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 文件
 *
 * @author <a href="mailto:mengbin@hotmail.com">Ben</a>
 * @version 1.0.0
 * @since 2024/5/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class File implements Serializable {

    private static final long serialVersionUID = -4973520046944646627L;

    /**
     * 文件内容
     */
    private byte[] bytes;

    /**
     * 文件名
     */
    private String filename;

    /**
     * 媒体类型
     */
    private String contentType;

}
